docs/*.pdf
docs/*.ps
docs/*.toc
+ docs/figs/xenserver.eps
docs/html/*
+ docs/interface/WARNINGS
+ docs/interface/images.pl
+ docs/interface/images.tex
+ docs/interface/img1.png
+ docs/interface/index.html
+ docs/interface/interface.css
+ docs/interface/interface.html
+ docs/interface/labels.pl
docs/pdf/*
docs/ps/*
+ docs/user/WARNINGS
+ docs/user/images.pl
+ docs/user/images.tex
+ docs/user/img1.png
+ docs/user/img2.png
+ docs/user/img3.png
+ docs/user/index.html
+ docs/user/internals.pl
+ docs/user/labels.pl
+ docs/user/user.css
+ docs/user/user.html
extras/mini-os/h/hypervisor-ifs
-dist/*
+install/*
linux-*-xen0/*
linux-*-xenU/*
-linux-xen-sparse
linux-*.patch
+linux-xen-sparse
+mkddbxen
netbsd-*-tools/*
netbsd-*-xen0/*
netbsd-*-xenU/*
tools/vnet/vnet-module/vnet_module.mod.*
tools/vnetd/vnetd
tools/web-shutdown.tap
- tools/xentrace/xentrace
+tools/x2d2/minixend
+tools/xcs/xcs
+tools/xcs/xcsdump
+ tools/xentrace/xentrace
tools/xfrd/xfrd
+xen/BLOG
xen/arch/x86/asm-offsets.s
xen/arch/x86/boot/mkelf32
+xen/ddb/*
xen/drivers/pci/classlist.h
xen/drivers/pci/devlist.h
xen/drivers/pci/gen-devlist
# build and install everything into local dist directory
dist: xen tools kernels docs
- install -m0644 ./COPYING $(DIST_DIR)
- install -m0644 ./README $(DIST_DIR)
- install -m0755 ./install.sh $(DIST_DIR)
- mkdir -p $(DIST_DIR)/check
- install -m0755 tools/check/chk tools/check/check_* $(DIST_DIR)/check
+ $(INSTALL_DIR) $(DIST_DIR)/check
+ $(INSTALL_DATA) ./COPYING $(DIST_DIR)
+ $(INSTALL_DATA) ./README $(DIST_DIR)
+ $(INSTALL_PROG) ./install.sh $(DIST_DIR)
+ $(INSTALL_PROG) tools/check/chk tools/check/check_* $(DIST_DIR)/check
xen:
- $(MAKE) prefix=$(INSTALL_DIR) dist=yes -C xen install
+ $(MAKE) dist=yes -C xen install
tools:
- $(MAKE) prefix=$(INSTALL_DIR) dist=yes -C tools install
+ $(MAKE) dist=yes -C tools install
kernels:
- for i in $(XKERNELS) ; do $(MAKE) $$i-build ; done
+ for i in $(XKERNELS) ; do $(MAKE) $$i-build || exit 1; done
docs:
- sh ./docs/check_pkgs && \
- $(MAKE) prefix=$(INSTALL_DIR) dist=yes -C docs install || true
+ sh ./docs/check_pkgs
+ -$(MAKE) dist=yes -C docs install
# Build all the various kernels and modules
kbuild: kernels
$(MAKE) -C python install
$(MAKE) -C xfrd install
$(MAKE) -C sv install
+ $(MAKE) -C xcs install
+ $(MAKE) -C ioemu install
dist: $(TARGET)
- $(MAKE) prefix=`pwd`/../dist/install dist=yes install
- $(MAKE) prefix=$(CURDIR)/../../install dist=yes install
-
++ $(MAKE) prefix=$(CURDIR)/../dist/install dist=yes install
clean:
$(MAKE) -C libxutil clean
ln -sf ../../$(LINUX_ROOT)/include/asm-xen/linux-public/*.h . )
install: all
- mkdir -p $(prefix)/usr/lib
- mkdir -p $(prefix)/usr/include
- install -m0755 $(LIB) $(prefix)/usr/lib
- ln -sf libxc.so.$(MAJOR).$(MINOR) $(prefix)/usr/lib/libxc.so.$(MAJOR)
- ln -sf libxc.so.$(MAJOR) $(prefix)/usr/lib/libxc.so
- install -m0644 xc.h $(prefix)/usr/include
+ $(INSTALL_DIR) $(DESTDIR)/usr/lib
+ $(INSTALL_DIR) $(DESTDIR)/usr/include
+ $(INSTALL_PROG) $(LIB) $(DESTDIR)/usr/lib
+ ln -sf $(LIB_NAME).so.$(MAJOR).$(MINOR) $(DESTDIR)/usr/lib/$(LIB_NAME).so.$(MAJOR)
+ ln -sf $(LIB_NAME).so.$(MAJOR) $(DESTDIR)/usr/lib/$(LIB_NAME).so
+ $(INSTALL_DATA) xc.h $(DESTDIR)/usr/include
clean:
- rm -rf *.a *.so *.o *.rpm $(LIB) *~ $(DEPS) xen TAGS
- rm -rf *.a *.so *.o *.opic *.rpm $(LIB) *~ $(DEPS) xen
++ rm -rf *.a *.so *.o *.opic *.rpm $(LIB) *~ $(DEPS) xen TAGS
rpm: all
rm -rf staging
mv staging/i386/*.rpm .
rm -rf staging
- libxc.so:
- ln -sf libxc.so.$(MAJOR) $@
- libxc.so.$(MAJOR):
- ln -sf libxc.so.$(MAJOR).$(MINOR) $@
- libxc.so.$(MAJOR).$(MINOR): $(OBJS)
+ $(PIC_OBJS): %.opic: %.c
+ $(CC) $(CPPFLAGS) -DPIC $(CFLAGS) -fPIC -c -o $@ $<
+
+ $(LIB_NAME).a: $(OBJS)
+ $(AR) rc $@ $^
+
+ $(LIB_NAME).so: $(LIB_NAME).so.$(MAJOR)
+ ln -sf $< $@
+ $(LIB_NAME).so.$(MAJOR): $(LIB_NAME).so.$(MAJOR).$(MINOR)
+ ln -sf $< $@
+ $(LIB_NAME).so.$(MAJOR).$(MINOR): $(PIC_OBJS)
$(CC) -Wl,-soname -Wl,$(SONAME) -shared -o $@ $^ -L../libxutil -lxutil -lz
+.PHONY: TAGS clean install mk-symlinks rpm
+TAGS:
+ etags -t $(SRCS) *.h
+
-include $(DEPS)
# This is the correct place to edit the build version.
# All other places this is stored (eg. compile.h) should be autogenerated.
-export XEN_VERSION = 2
+export XEN_VERSION = 3
export XEN_SUBVERSION = 0
-export XEN_EXTRAVERSION = ""
+export XEN_EXTRAVERSION = "-devel"
- export BASEDIR := $(shell pwd)
+ export BASEDIR := $(CURDIR)
+ DESTDIR := $(CURDIR)/../dist/install
include Rules.mk
OBJS := $(subst $(TARGET_SUBARCH)/asm-offsets.o,,$(OBJS))
- default: boot/$(TARGET_SUBARCH).o $(OBJS) boot/mkelf32
- $(LD) $(LDFLAGS) -r -o arch.o $(OBJS)
- $(LD) $(LDFLAGS) -T $(TARGET_SUBARCH)/xen.lds -N \
- boot/$(TARGET_SUBARCH).o $(ALL_OBJS) -o $(TARGET)-syms
+ifneq ($(TARGET_SUBARCH),x86_32)
+OBJS := $(subst vmx.o,,$(OBJS))
+OBJS := $(subst vmx_io.o,,$(OBJS))
+OBJS := $(subst vmx_vmcs.o,,$(OBJS))
+endif
+
+ default: $(TARGET)
+
+ $(TARGET): $(TARGET)-syms boot/mkelf32
./boot/mkelf32 $(TARGET)-syms $(TARGET) 0x100000
+ $(CURDIR)/arch.o: $(OBJS)
+ $(LD) $(LDFLAGS) -r -o $@ $(OBJS)
+
+ $(TARGET)-syms: boot/$(TARGET_SUBARCH).o $(ALL_OBJS) $(TARGET_SUBARCH)/xen.lds
+ $(LD) $(LDFLAGS) -T $(TARGET_SUBARCH)/xen.lds -N \
+ boot/$(TARGET_SUBARCH).o $(ALL_OBJS) -o $@
+
asm-offsets.s: $(TARGET_SUBARCH)/asm-offsets.c
$(CC) $(CFLAGS) -S -o $@ $<
OBJS := $(subst trace.o,,$(OBJS))
endif
- default: $(OBJS)
+OBJS := $(subst sched_atropos.o,,$(OBJS))
+OBJS := $(subst sched_rrobin.o,,$(OBJS))
+
+ default: common.o
+ common.o: $(OBJS)
$(LD) $(LDFLAGS) -r -o common.o $(OBJS)
clean: